home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / finfo16.zip / FINFO.DOC < prev    next >
Text File  |  1989-01-03  |  1KB  |  49 lines

  1.  
  2. Finfo - DOS filter to update file size/date info in a file
  3.         directory listing.
  4.  
  5. Written:
  6.    2-26-87 S.H.Smith (rev. 10-20-88)
  7.  
  8. Public Domain Material.
  9.  
  10.  
  11. Usage:
  12.    finfo DIRECTORY <filelist >newlist
  13.  
  14. Example:
  15.    finfo C:\DL1 <C:\PCB\GEN\DIR3 >DIR3.NEW
  16.  
  17.  
  18. Example batch file:
  19.    @echo off
  20.    if .%2 == . goto usage
  21.    if not exist %1 goto usage
  22.  
  23.    finfo %2 <%1 >%TMP%\t
  24.    copy %TMP%\t %1
  25.    del %TMP%\t
  26.    bac c:\pcb\gen\dir* i:\gen
  27.    goto end
  28.  
  29.    :usage
  30.    echo Usage:    ufdir FILE_LISTING FILE_DIRECTORY
  31.    echo Example:  ufdir c:\pcb\gen\dir1 c:\shsbox
  32.  
  33.    :end
  34.  
  35.  
  36. Revision History
  37. ----------------
  38.  
  39. 10-20-88 v1.5
  40.    Changed for compilation under Zortech C++.
  41.    Zortech's printf function tends to get quite confused when a %s parameter
  42.    contains certain characters.  Recoded to output descriptions character-by-
  43.    character.  Hopefully this will eliminate all possibility of descriptions
  44.    being lost due to garbage characters.
  45.  
  46. 01-03-88 v1.6
  47.    Fixed a bug that prevented stamping a file dated after 1-31-88.
  48.  
  49.